package com.share.domain.activity.model.entity;

import com.share.domain.activity.model.valobj.UserRaffleOrderStateVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class UserRaffleOrderEntity {

    /** 用户ID */
    private String userId;
    /** 活动ID  */
    private Long activityId;
    /**  活动名称 */
    private String activityName;
    /** 抽奖策略ID*/
    private Long strategyId;
    /** 订单ID */
    private String orderId;
    /** 下单时间 */
    private Date orderTime;
    /** 订单状态；create-创建、used-已使用、cancel-已作废 */
    private UserRaffleOrderStateVo orderState;

    private Date endDateTime;

}
